package models;

import play.db.jpa.Model;

import javax.persistence.Entity;

/**
 * Created by IntelliJ IDEA.
 * User: Bergur
 * Date: 23.2.2012
 * Time: 21:25
 * To change this template use File | Settings | File Templates.
 */
@Entity
public class Client extends Model {
    public String name;
    public String country;
    public String creditNo;
    public String expDate;
    public String password;
    public String email;
    public boolean isAdmin;

    public Client(String name, String country, String creditNo, String expDate, String password, String email, boolean admin) {
        this.name = name;
        this.country = country;
        this.creditNo = creditNo;
        this.expDate = expDate;
        this.password = password;
        this.email = email;
        this.isAdmin = admin;
    }
}
